package com.gzhryc.pay.adaptation.weixin.msg.advance_pay;

import java.io.Serializable;
import java.util.List;

/**
 * 创建支付分订单
 * @author zhanghao
 *
 */
public class WXPayAdvancePayCreateRequest implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private String out_order_no;	//必须，商户系统内部服务订单号
	private String appid;			//必须
	private String service_id;		//必须
	private String service_introduction; //必须,服务信息，用于介绍本订单所提供的服务
	private List<PostPaymentItem> post_payments;
	private List<PostDiscountItem> post_discounts;
	private TimeRange time_range;
	private Location location;
	private RiskFund risk_fund;
	private String attach;
	private String notify_url;
	private String openid;
	private Boolean need_user_confirm;
	
	public WXPayAdvancePayCreateRequest() {
		this.time_range = new TimeRange();
		this.risk_fund = new RiskFund();
	}
	
	public String getOut_order_no() {
		return out_order_no;
	}
	public void setOut_order_no(String out_order_no) {
		this.out_order_no = out_order_no;
	}
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getService_id() {
		return service_id;
	}
	public void setService_id(String service_id) {
		this.service_id = service_id;
	}
	public String getAttach() {
		return attach;
	}
	public void setAttach(String attach) {
		this.attach = attach;
	}
	public String getService_introduction() {
		return service_introduction;
	}
	public void setService_introduction(String service_introduction) {
		this.service_introduction = service_introduction;
	}
	public List<PostPaymentItem> getPost_payments() {
		return post_payments;
	}
	public void setPost_payments(List<PostPaymentItem> post_payments) {
		this.post_payments = post_payments;
	}
	public List<PostDiscountItem> getPost_discounts() {
		return post_discounts;
	}
	public void setPost_discounts(List<PostDiscountItem> post_discounts) {
		this.post_discounts = post_discounts;
	}
	public TimeRange getTime_range() {
		return time_range;
	}
	public void setTime_range(TimeRange time_range) {
		this.time_range = time_range;
	}
	public Location getLocation() {
		return location;
	}
	public void setLocation(Location location) {
		this.location = location;
	}
	public RiskFund getRisk_fund() {
		return risk_fund;
	}
	public void setRisk_fund(RiskFund risk_fund) {
		this.risk_fund = risk_fund;
	}
	public String getNotify_url() {
		return notify_url;
	}
	public void setNotify_url(String notify_url) {
		this.notify_url = notify_url;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public Boolean getNeed_user_confirm() {
		return need_user_confirm;
	}
	public void setNeed_user_confirm(Boolean need_user_confirm) {
		this.need_user_confirm = need_user_confirm;
	}
}
